package com.parenting.feign.entities;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
@Data
public class OrderDTO implements Serializable {
    @ApiModelProperty(value = "订单编号")
    private String orderNumber;

    @ApiModelProperty(value = "购买人ID")
    private String buyerId;

    @ApiModelProperty(value = "购买人头像")
    private String buyerImages;

    @ApiModelProperty(value = "购买人姓名")
    private String buyerName;

    @ApiModelProperty(value = "购买账号")
    @TableField("BUYER_ACCOUNT")
    private String buyerAccount;

    @ApiModelProperty(value = "活动名称")
    private String activityName;

    @ApiModelProperty(value = "活动ID")
    private String activityId;

    @ApiModelProperty(value = "订单状态 1未支付（等待买家付款）2已支付（买家已付款），3交易成功，4交易关闭，5退款中，6已退款")
    private Integer orderState;

    @ApiModelProperty(value = "支付状态 1未支付，2已支付，3申请退款，4退款成功，5拒绝退款")
    private Integer  paymentStatus;

    @ApiModelProperty(value = "微信订单")
    private String wechatOrder;

    @ApiModelProperty(value = "实付金额 单位分")
    private Integer paid;

    @ApiModelProperty(value = "原单价 单位分")
    private Integer originalPrice;

    @ApiModelProperty(value = "优惠单价（单价，单位分）")
    private Integer ItemConcessional;

    @ApiModelProperty(value = "退款金额 单位分")
    private Integer refundAmount;

    @ApiModelProperty(value = "店铺ID")
    private String shopId;

    @ApiModelProperty(value = "店铺名称")
    private String shopName;

    @ApiModelProperty(value = "购买物品名称")
    private String itemName;

    @ApiModelProperty(value = "购买物品ID，实际上是活动详情的ID")
    private String itemId;

    @ApiModelProperty(value = "物品图片")
    private String itemImageUrl;

    @ApiModelProperty(value = "购买数量")
    private Integer itemNumber;

    @ApiModelProperty(value = "订单类型")
    private String orderType;

    @ApiModelProperty(value = "退款理由")
    private String remarks;

    @ApiModelProperty(value = "下单时间")
    private Date orderTime;

    @ApiModelProperty(value = "支付时间")
    private Date paymentTime;

    @ApiModelProperty(value = "团对编号")
    private String groupId;

    @ApiModelProperty(value = "1是团长 2否")
    private Integer chief;

    @ApiModelProperty(value = "退款原因")
    private  String refundReason;

    @ApiModelProperty(value = "补充理由")
    private  String supplement;

    @ApiModelProperty(value = "乐观锁")
    private Integer revision;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "使用时间")
    private Date useTime;

    @ApiModelProperty(value = "更新时间")
    private Date updatedTime;
}
